include(../../GSCommon.pri)

QT += core gui widgets

TARGET = device_framework
TEMPLATE = lib

CONFIG  += plugin


BUILD_DIR = $$clean_path($$OUT_PWD)
LIB_DIR = $$clean_path($$IDE_APP_ROOT/bin)
TOP_SRC_DIR = $$clean_path($$IDE_APP_ROOT)

DESTDIR = $$clean_path($$IDE_APP_ROOT/bin)
win32 {
    DLLDESTDIR = $$IDE_APP_ROOT/bin
}
unix {
    DESTDIR = $$IDE_APP_ROOT/bin
    LIB_DIR = $$clean_path($$IDE_APP_ROOT/bin)
}

LIB_SUFFIX=""
CONFIG(debug, debug|release) { #debug
    win32 {
        LIB_SUFFIX=d
    }
}

LIBS += -L$$clean_path($$LIB_DIR) -lshared
LIBS += -L$$clean_path($$LIB_DIR) -lcore
LIBS += -L$$clean_path($$LIB_DIR) -lqtpropertybrowser$$LIB_SUFFIX

INCLUDEPATH += \
    $$TOP_SRC_DIR/GSLibs/core \
    $$TOP_SRC_DIR/GSLibs/shared\
    $$TOP_SRC_DIR/GSLibs/qtpropertybrowser


HEADERS += \
    deviceframework.h \
    devicesplugin.h

SOURCES += \
    deviceframework.cpp \
    devicesplugin.cpp


RESOURCES += \
    images.qrc

FORMS +=


DISTFILES += \
    devicesplugin.json
